package com.example.jobback.service.recruiter;

import com.example.jobback.dto.RecruiterRegisterDto;
import com.example.jobback.req.common.password.ResetPasswordReq;
import com.example.jobback.req.common.phone.ResetPhoneReq;
import com.example.jobback.req.recruiter.company.register.RecruiterRegisterReq;
import com.example.jobback.resp.recruiter.auth.RecruiterLoginResp;
import com.example.jobback.resp.recruiter.auth.VerifyCompanyRegisterStatusResp;
import com.example.jobback.result.Result;
import org.springframework.stereotype.Service;

/**
 * @InterfaceName: RecruiterAuthService
 * @Description:招聘者-身份核验服务接口
 * @Author: lhb
 * @Date: 2025/6/21
 */
@Service
public interface RecruiterAuthService {
    Result<Object> LoginByPhone(String phone, String code);

    Result<Object> applyRegisterCompany(RecruiterRegisterReq req, String token);

    Result<VerifyCompanyRegisterStatusResp> getVerifyMessage(String token);

    Result<Object> registerCompany(RecruiterRegisterDto recruiterRegisterDto);

    Result<Object> LoginOut();

    Result<RecruiterLoginResp> login(String phone, String password);

    Result<Object> register(String phone, String password);

    Result<Object> resetPassword(ResetPasswordReq resetPasswordReq);

    Result<Object> resetPhone(ResetPhoneReq resetPhoneReq);
}
